package com.woniuxy.dao;

import com.woniuxy.entity.RbacManager;

import java.util.List;

/**
 * @Author 罗蔚
 * @Date 2022/4/14 20:05
 * @Description TODO
 */
public interface RbacManagerDao {
    int addOne(RbacManager rbacManager);

    int deleteOne(int id);

    int updateOne(RbacManager rbacManager);

    RbacManager findOne(int id);

    RbacManager findUser(String username);

    List<RbacManager> findAll();

    RbacManager login(String username, String password);

    List<RbacManager> findLike(RbacManager rbacManager);
}
